Hoc : Overloading and Language Design

نویسندگان

  • Scott Lasater Kilpatrick
  • Scott Lasater
  • Imre Lakatos
  • Justin Hilburn
  • Victor Luchangco
  • Jan-Willem Maessen
  • Sukyoung Ryu
  • William R. Cook
  • Eric E. Allen
چکیده

vi Chapter

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modular implicits

We present modular implicits, an extension to the OCaml language for ad-hoc polymorphism inspired by Scala implicits and modular type classes. Modular implicits are based on type-directed implicit module parameters, and elaborate straightforwardly into OCaml’s first-class functors. Basing the design on OCaml’s modules leads to a system that naturally supports many features from other languages ...

متن کامل

Object-Oriented Style Overloading for Haskell

Haskell has a sophisticated mechanism for overloading identifiers with multiple definitions at distinct types. Objectoriented programming has a similar notion of overriding and overloading for methods names. Unfortunately, it is not possible to encode object-oriented overloading directly using Haskell overloading. This deficiency becomes particularly tiresome when Haskell programs wish to call ...

متن کامل

The Use of Overloading in Java Programs

Method overloading is a controversial language feature, especially in the context of Object Oriented languages, where its interaction with overriding may lead to confusing semantics. One of the main arguments against overloading is that it can be abused by assigning the same identity to conceptually different methods. This paper describes a study of the actual use of overloading in JAVA. To thi...

متن کامل

1 Type Classes Without Types ∗

Data-directed programs consist of collections of generic functions, functions whose underlying implementation differs depending on properties of their arguments. Scheme’s flexibility lends itself to developing generic functions, but the language has some shortcomings in this regard. In particular, it lacks both facilities for conveniently extending generic functions while preserving the flexibi...

متن کامل

Making ML Polymorphism More Ad Hoc

This report is an outline on the denotational semantics of type classes in Haskell98, which is currently being prepared for submission to a journal. The intention is to present sufficient detail so that members of the Programatica team get an up-to-date view of our approach to overloading and so that we can get useful feedback.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010